package cc.mrbird.demo.config;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author: chenhs
 * @date: Created in 7:07 2020/3/18
 **/
@Configuration
public class HelloWorldConfiguration {

    @Bean
    public String hello() {
        System.out.println("往IOC注册 hello String (bean)");
        return "hello world";
    }

}
